﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using sapphirelang.AST.Patterns;

namespace sapphirelang.AST.Stmts
{
    class DefMethodStmt : Stmt
    {
        public string name;
        public Pattern arg;
        public Stmt body;

        public DefMethodStmt(string name, Pattern arg, Stmt body)
        {
            this.name = name;
            this.arg = arg;
            this.body = body;
        }
    }
}
